//session管理
var session = require('./session');

module.exports = function(app) {

    // 分发acl_user用户模块
    var acl_user = require('./acl_user');
    app.use('/api/acl_user', acl_user);

    // 分发acl_role角色模块
    var acl_role = require('./acl_role');
    app.use('/api/acl_role', acl_role);

    // 分发acl_resource权限、资源模块
    var acl_resource = require('./acl_resource');
    app.use('/api/acl_resource', acl_resource);

    //分发首页相关接口
    app.use('/home', require('./home'));

    //获取省市区全部数据
    app.use('/provcityarea', require('./prov_city_area'));

    //站点管理
    app.use('/substationManage', require('./substationManage'));

    //设备管理
    app.use('/deviceManage', require('./deviceManage'));
};